#ifndef TERRAINHEIGHTMAPPER_H
#define TERRAINHEIGHTMAPPER_H

#include <QWidget>
#include "CommonTypes.h"

namespace Ui {
class TerrainHeightMapper;
}

class TerrainHeightMapper : public QWidget
{
    Q_OBJECT

public:
    explicit TerrainHeightMapper(QWidget *parent = 0);
    ~TerrainHeightMapper();

private slots:
    void on_AddTButton_clicked();

    void on_TMaxHInput_valueChanged(int arg1);

    void on_TOptimalHInput_valueChanged(int arg1);

    void on_TMinHInput_valueChanged(int arg1);

    void on_TexturesList_currentRowChanged(int currentRow);

private:
    Ui::TerrainHeightMapper *ui;

    QVector <MetaTexture*> Textures;

    void LoadTextureInfo(MetaTexture *T);
    MetaTexture* getTextureByName(QString input);
};

#endif // TERRAINHEIGHTMAPPER_H
